package com.desire;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/**
 * @author desire
 */
@SpringBootApplication
@ImportResource(value = {"classpath:applicationContext.xml"})
//@ServletComponentScan
public class SbdemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(SbdemoApplication.class, args);
        try {
            Runtime.getRuntime().exec("cmd /c start http://localhost");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
